<?php
/**
 * Created by PhpStorm.
 * User: xiaxiang
 * Date: 2019/6/2
 * Time: 17:12
 */

namespace app\admin\validate;


use think\Validate;

class UserValidate extends Validate
{
    protected $rule = [
        'department|部门' => 'require',
        'real_name|姓名'  => 'require',
        'role|角色信息'     => 'require'
    ];
}